package com.industrial.premu.service;

import com.industrial.premu.domain.PreMuPassword;

import java.util.List;

public interface IPremuPasswordService {

    PreMuPassword getbyPassWord(String passWord);

    /**
     * 查询导入密码
     *
     * @param baseId 导入密码主键
     * @return 导入密码
     */
    public PreMuPassword selectPreMuPasswordByBaseId(String baseId);

    /**
     * 查询导入密码列表
     *
     * @param preMuPassword 导入密码
     * @return 导入密码集合
     */
    public List<PreMuPassword> selectPreMuPasswordList(PreMuPassword preMuPassword);

    /**
     * 新增导入密码
     *
     * @param preMuPassword 导入密码
     * @return 结果
     */
    public int insertPreMuPassword(PreMuPassword preMuPassword);

    /**
     * 修改导入密码
     *
     * @param preMuPassword 导入密码
     * @return 结果
     */
    public int updatePreMuPassword(PreMuPassword preMuPassword);

    /**
     * 批量删除导入密码
     *
     * @param baseIds 需要删除的导入密码主键集合
     * @return 结果
     */
    public int deletePreMuPasswordByBaseIds(String[] baseIds);

    /**
     * 删除导入密码信息
     *
     * @param baseId 导入密码主键
     * @return 结果
     */
    public int deletePreMuPasswordByBaseId(String baseId);

    public PreMuPassword selectByOldPassWord(String oldPassWord);
}
